package com.pattern.singleton;

/**
 * 将实例化放置到静态代码块中
 * 和 Mgr01 是一样的
 */
public class Mgr02 {
    private static final Mgr02 INSTANCE;

    static {
        INSTANCE = new Mgr02();
    }

    private Mgr02(){}

    public static Mgr02 getINSTANCE() {
        return INSTANCE;
    }

}
